package com.example.demo.Service;

import com.example.demo.Entity.User;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface UserService {
     User getUserById(long id);

     List<User> getUserByName(String name);

     User getUserByEmail(String Email);

     User getUserByPhone(String ph);

     List<User> getUserByRole(String role);

     List<User>  getUserByRegistrationDate(Date RegistrationDate);




}
